import React from 'react';
import { Routes, Route } from 'react-router-dom';
import Layout from './components/Layout/Layout';
import Home from './pages/Home';
import Review from './pages/Review';
import Reviews from './pages/Reviews';
import BuyersGuide from './pages/BuyersGuide';
import Insights from './pages/Insights';
import InsightDetail from './pages/InsightDetail';
import Privacy from './pages/Privacy';
import Terms from './pages/Terms';
import Disclaimer from './pages/Disclaimer';
import About from './pages/About';
import Team from './pages/Team';
import Contact from './pages/Contact';
export function App() {
  return <Routes>
      <Route path="/" element={<Layout />}>
        <Route index element={<Home />} />
        <Route path="reviews" element={<Reviews />} />
        <Route path="review/:productId" element={<Review />} />
        <Route path="buyers-guide" element={<BuyersGuide />} />
        <Route path="insights" element={<Insights />} />
        <Route path="insights/:insightId" element={<InsightDetail />} />
        <Route path="privacy" element={<Privacy />} />
        <Route path="terms" element={<Terms />} />
        <Route path="disclaimer" element={<Disclaimer />} />
        <Route path="about" element={<About />} />
        <Route path="team" element={<Team />} />
        <Route path="contact" element={<Contact />} />
      </Route>
    </Routes>;
}